package org.ctstudio.oa.duty.bean;

import org.ctstudio.common.bean.IdentifiedObject;

import java.time.LocalDateTime;

public class Apply extends IdentifiedObject implements UidBean {
  private static final long serialVersionUID = -8420571479523169856L;

  public static final long STATUS_PASS = 2;

  private String uid;
  private long status;
  private LocalDateTime applyTime;
  private LocalDateTime lastUpdateTime;
  private String reason;

  private String approver;
  private LocalDateTime approveTime;
  private String suggestion;

  public String getUid() {
    return uid;
  }

  public void setUid(String uid) {
    this.uid = uid;
  }

  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }

  public LocalDateTime getApplyTime() {
    return applyTime;
  }

  public void setAppleTime(LocalDateTime applyTime) {
    this.applyTime = applyTime;
  }

  public LocalDateTime getLastUpdateTime() {
    return lastUpdateTime;
  }

  public void setLastUpdateTime(LocalDateTime lastUpdateTime) {
    this.lastUpdateTime = lastUpdateTime;
  }

  public String getReason() {
    return reason;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }

  public String getApprover() {
    return approver;
  }

  public void setApprover(String approver) {
    this.approver = approver;
  }

  public LocalDateTime getApproveTime() {
    return approveTime;
  }

  public void setApproveTime(LocalDateTime approveTime) {
    this.approveTime = approveTime;
  }

  public String getSuggestion() {
    return suggestion;
  }

  public void setSuggestion(String suggestion) {
    this.suggestion = suggestion;
  }
}
